package pta.java.ch01.ex01;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            String num1 = scanner.next();
            String num2 = scanner.next();
            int sum = Integer.parseInt(num1)+Integer.parseInt(num2);
            System.out.println(sum);
        }
        scanner.close();
    }
}